package mapper;

import org.apache.ibatis.annotations.Param;
import pojo.User;

public interface userMapper {
    //传递多个参数时记得添加注解！！
    User login(@Param("username") String username, @Param("password") String password);
    void add(User user);
    User selectByUsername(String username);
}
